POV-Ray : Newsgroups : povray.newusers : How to position an "included" bezier-spline model? : Re: How to position an "included" bezier-spline model? Server Time
5 Sep 2024 20:18:19 EDT (-0400)
  Re: How to position an "included" bezier-spline model?  
From: Mike
Date: 29 Oct 1999 18:52:04
Message: <381A22CA.51A801C3@aol.com>
Hi Cindy, that's my exporter! :)

What you want to do is make a union of all the patches.  You do this by typing
union { before the first patch and finish it off by adding a } after the last
patch.  The best way to do this is to give the union a name so you can use the
object in your main scene.  So you might have a file called myscene.inc like
this:

#declare MyObject = union {
bicubic_patch {}
bicubic_patch {}
bicubic_patch {}
...
}

Then in your main scene file you would include that file and reference the
object:

#include "myscene.inc"

object {MyObject }

and you can make multiple copies of the object that way.

object {MyObject translate -5*x}
object {MyObject scale 5 translate 15*x}

I probably overexplained it.  It's pretty simple.

-Mike


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.